smk-chat/Dockerfile

15 lines
296 B
Docker
Raw Normal View History

2024-06-11 17:22:27 +03:00
FROM node:latest
WORKDIR /usr/src/app
COPY package*.json ./
#RUN apk update && apk upgrade # && apk add --update alpine-sdk && apk add --update python
RUN npm install
# If you are building your code for production
# RUN npm ci --omit=dev
COPY . .
EXPOSE 8080
CMD [ "node", "src/index.js" ]