Compare commits

...

2 Commits

Author SHA1 Message Date
eab60089ca Merge branch 'main' of https://git.anatid.net/tabris/anatid-blog
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 28s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 30s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 50s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 1m0s
Anatid Blog CI Workflow / deploy (push) Successful in 26s
2025-03-29 08:27:40 +00:00
8ab47c76e2 Removing reverse proxy on frontend to see if that fixes CORS 2025-03-29 08:27:02 +00:00

View File

@ -5,9 +5,10 @@ COPY ./package*.json ./
RUN npm install
COPY . .
RUN npm run build
CMD [ "node", "dist/main.js" ]
# Production Stage
FROM nginx:stable-alpine AS production
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
#FROM nginx:stable-alpine AS production
#COPY --from=build /app/build /usr/share/nginx/html
#EXPOSE 80
#CMD ["nginx", "-g", "daemon off;"]