Skip to content

Commit

Permalink
docs : 도커파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
94-c committed Sep 6, 2024
1 parent a47b289 commit 405868b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Base image
FROM node:16-alpine as build

# Build argument for environment variable
ARG REACT_APP_API_BASE_URL

# Set working directory inside the container
WORKDIR /app

Expand All @@ -16,6 +13,9 @@ RUN npm install
# Copy the rest of the application source code
COPY . .

# Check the contents of the src/assets directory
RUN ls -R /app/src/assets

# Set environment variable
ENV REACT_APP_API_BASE_URL=$REACT_APP_API_BASE_URL

Expand Down

0 comments on commit 405868b

Please sign in to comment.