mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
20 lines
241 B
Docker
Executable File
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"] |