Skip to content

Commit

Permalink
Move .env.testnet to .env.local
Browse files Browse the repository at this point in the history
update task container name
  • Loading branch information
Freshenext authored and david-iov committed Jul 17, 2024
1 parent 1065a9e commit e2492b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testnet.deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
ECS_SERVICE: dao-frontend-testnet
ECS_CLUSTER: dao-frontend-testnet
ECS_TASK_DEFINITION: dao-frontend-testnet
CONTAINER_NAME: rif-dao-frontend
CONTAINER_NAME: dao-frontend-testnet

PROFILE: testnet

Expand Down
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Use the official Node.js 18 image as a base
FROM node:18-alpine AS builder

# Set the environment variable
ARG arg_env
ENV NODE_ENV="$arg_env"

# Set the working directory
WORKDIR /app

Expand All @@ -19,7 +15,8 @@ RUN npm install --verbose

# Copy the rest of the application code
COPY . .

# Testing deployment
COPY .env.testnet .env.local
# Disable telemetry
ENV NEXT_TELEMETRY_DISABLED 1
# Build the Next.js application
Expand Down

0 comments on commit e2492b7

Please sign in to comment.