Skip to content

Commit

Permalink
Finding dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanvicente committed Feb 7, 2024
1 parent a7f34b0 commit 180111b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_upload_image.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ jobs:
name: Build and push
uses: docker/build-push-action@v5
with:
context: ${{ env.BUILD_DIR }}
context: ${{ env.MICROSERVICE_DEPLOY }}
push: true
tags: itacademybcn/itachallenges:itachallenge-nginx-${{ env.MICROSERVICE_VERSION }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nginx:stable-alpine
COPY nginx_conf/nginx.conf /etc/nginx/nginx.conf
#COPY ita-challenges-frontend/* /usr/share/nginx/html/
ADD ["ita-challenges-frontend/*", "/usr/share/nginx/html/"]
ADD ["dist/ita-challenges-frontend/*", "/usr/share/nginx/html/"]

EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion conf/.env.CI.dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
BUILD_DIR=dist
MICROSERVICE_DEPLOY=ita-challenges-frontend
MICROSERVICE_VERSION=1.0.2-RELEASE

0 comments on commit 180111b

Please sign in to comment.