16 lines
203 B
Docker
16 lines
203 B
Docker
|
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" ]
|
||
|
|