OpenTerminal/Dockerfile

16 lines
226 B
Docker
Raw Normal View History

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