Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
naumanzchaudhry committed Oct 5, 2024
1 parent af4e2b7 commit bfd2480
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Build Docker image
run: |
IMAGE_TAG="${{ secrets.DOCKERHUB_USERNAME }}/tasker-api:${{ env.ENVIRONMENT }}"
docker build -t $IMAGE_TAG .
docker build --build-arg DATABASE_URL=${{ secrets.DATABASE_URL }} -t $IMAGE_TAG .
echo "Built image with tag: $IMAGE_TAG"
# Step 13: Push the Docker image to Docker Hub
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ RUN npm install
# Step 5: Copy the rest of the app's source code
COPY . .

# Copy the .env file if it exists
COPY ./.env ./

# Step 6: Generate the Prisma Client
RUN npx prisma generate

Expand Down

0 comments on commit bfd2480

Please sign in to comment.