Reverting...
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 27s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 29s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 49s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 44s
Anatid Blog CI Workflow / deploy (push) Successful in 22s
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 27s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 29s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 49s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 44s
Anatid Blog CI Workflow / deploy (push) Successful in 22s
This commit is contained in:
parent
515d79c7ef
commit
604ef6ad09
@ -88,6 +88,6 @@ jobs:
|
|||||||
working-directory: /home/web
|
working-directory: /home/web
|
||||||
steps:
|
steps:
|
||||||
- name: Pull docker containers
|
- name: Pull docker containers
|
||||||
run: docker compose pull
|
run: docker compose pull anatid-blog-frontend anatid-blog-backend
|
||||||
- name: Start containers
|
- name: Start containers
|
||||||
run: docker compose up -d anatid-blog-frontend anatid-blog-backend
|
run: docker compose up -d anatid-blog-frontend anatid-blog-backend
|
||||||
|
@ -5,10 +5,9 @@ COPY ./package*.json ./
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
CMD [ "node", "build/main.js" ]
|
|
||||||
|
|
||||||
# Production Stage
|
# Production Stage
|
||||||
#FROM nginx:stable-alpine AS production
|
FROM nginx:stable-alpine AS production
|
||||||
#COPY --from=build /app/build /usr/share/nginx/html
|
COPY --from=build /app/build /usr/share/nginx/html
|
||||||
#EXPOSE 80
|
EXPOSE 80
|
||||||
#CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user