1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-14 07:02:30 +01:00
send/Dockerfile

15 lines
178 B
Docker
Raw Normal View History

FROM node:8-alpine
2017-06-09 01:11:17 +02:00
RUN adduser -S app
2017-06-09 01:11:17 +02:00
COPY . /app
RUN chown -R app /app
USER app
2017-06-09 01:11:17 +02:00
WORKDIR /app
RUN mkdir static
RUN npm install
ENV PORT=1443
EXPOSE $PORT
2017-06-09 01:11:17 +02:00
CMD ["npm", "start"]