oneuptime/init-script/Dockerfile
2021-06-21 22:08:35 +01:00

20 lines
241 B
Docker
Executable File

#
# Fyipe Init Script
#
FROM node:16
# Set env variables
ENV PRODUCTION=true
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copy app source
COPY . /usr/src/app
# Install app dependencies
RUN npm install
# Run app
CMD ["npm", "start"]