mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-11 12:58:32 +03:00
Clean master commit
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM mhart/alpine-node:10.11
|
||||
|
||||
LABEL authors="Lachlan Kermode <lk@forensic-architecture.org>"
|
||||
|
||||
# Install app dependencies
|
||||
COPY package.json /www/package.json
|
||||
RUN cd /www; yarn
|
||||
|
||||
# Copy app source
|
||||
COPY . /www
|
||||
WORKDIR /www
|
||||
RUN yarn build
|
||||
RUN mkdir -p temp
|
||||
|
||||
# set your port
|
||||
ENV PORT 8080
|
||||
EXPOSE 8080
|
||||
|
||||
# start command as per package.json
|
||||
CMD ["yarn", "start"]
|
||||
Reference in New Issue
Block a user