dockerisation 🐬
This commit is contained in:
parent
6ced824e1c
commit
3331925b3d
5 changed files with 40 additions and 1 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal 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" ]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue