dockerisation 🐬

This commit is contained in:
ari melody 2023-10-03 20:39:47 +01:00
parent 6ced824e1c
commit 3331925b3d
No known key found for this signature in database
GPG key ID: 12A070A0ACDCA45F
5 changed files with 40 additions and 1 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
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" ]