anatid-blog/backend/Dockerfile
Phill Pover cdaa6a1416
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 30s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 32s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 51s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 45s
Anatid Blog CI Workflow / deploy (push) Successful in 13s
Fixing backend image
2025-03-27 12:46:23 +00:00

9 lines
171 B
Docker

FROM node:23-alpine
WORKDIR /app
COPY ./package*.json ./
RUN npm install
COPY . .
# COPY .env .env.development ./
RUN npm run build
CMD [ "node", "dist/main.js" ]