OpenTerminal/Dockerfile

16 lines
203 B
Docker
Raw Normal View History

2023-10-03 19:39:47 +00:00
FROM node:20-alpine3.18
# set working directory
WORKDIR /srv/openterminal
# install dependencies
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
EXPOSE 8080
CMD [ "node", "./server/main.js" ]