12 lines
153 B
Docker
12 lines
153 B
Docker
|
FROM node:17-alpine
|
||
|
|
||
|
ENV NODE_ENV production
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package*.json ./
|
||
|
RUN npm ci --only=production
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
EXPOSE 80
|
||
|
CMD [ "node", "src/" ]
|