mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 06:00:53 +03:00
15 lines
178 B
Docker
15 lines
178 B
Docker
FROM node:8-alpine
|
|
|
|
RUN adduser -S app
|
|
COPY . /app
|
|
RUN chown -R app /app
|
|
USER app
|
|
WORKDIR /app
|
|
RUN mkdir static
|
|
RUN npm install
|
|
|
|
ENV PORT=1443
|
|
EXPOSE $PORT
|
|
|
|
CMD ["npm", "start"]
|