8 lines
162 B
Docker
8 lines
162 B
Docker
|
FROM node:18-alpine3.14
|
||
|
RUN apk update && apk upgrade && sync
|
||
|
EXPOSE 3000
|
||
|
WORKDIR /usr/app
|
||
|
COPY . /usr/app
|
||
|
RUN npm ci
|
||
|
ENV NODE_ENV production
|
||
|
CMD ["npm", "start"]
|