terraform-tofu-labs/chat-app/Dockerfile
2024-04-15 16:31:58 +01:00

10 lines
168 B
Docker

FROM node:21-alpine AS build
WORKDIR /srv
ADD package.json .
RUN npm install
ADD . .
FROM node:21-alpine
COPY --from=build /srv .
EXPOSE 3000
CMD ["node", "index.js"]