Skip to content

Commit 11cd05b

Browse files
author
Alan
committed
change docker
1 parent 24ef606 commit 11cd05b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/push_docker_hub.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020

2121
- name: Build and Push Docker Compose
2222
run: |
23-
docker-compose -f docker-compose.yaml build
23+
docker-compose -f docker-compose.yaml build --no-cache
2424
docker-compose -f docker-compose.yaml push

docker/nginx/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ RUN npm run build
1313

1414

1515
FROM nginx:latest
16+
RUN rm /usr/share/nginx/html/*
1617
COPY --from=build_frontend /app/build /usr/share/nginx/html
1718
RUN rm /etc/nginx/conf.d/default.conf
19+
1820
COPY ./docker/nginx/nginx.conf /etc/nginx/conf.d
1921
EXPOSE 80
2022

0 commit comments

Comments
 (0)