refactor: add flag

This commit is contained in:
Mauricio Siu
2024-10-10 21:52:09 -06:00
parent 00ed202127
commit d31cab76f0
2 changed files with 4 additions and 1 deletions

View File

@@ -67,6 +67,8 @@ jobs:
run: | run: |
echo "NODE_ENV=production" >> .env echo "NODE_ENV=production" >> .env
echo "IS_CLOUD=true" >> .env echo "IS_CLOUD=true" >> .env
echo .env
echo Dockerfile.cloud
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4

View File

@@ -28,6 +28,7 @@ WORKDIR /app
# Set production # Set production
ENV NODE_ENV=production ENV NODE_ENV=production
ENV IS_CLOUD=true
RUN apt-get update && apt-get install -y curl unzip apache2-utils && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y curl unzip apache2-utils && rm -rf /var/lib/apt/lists/*