Skip to content

Commit

Permalink
changing relative paths again
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlight-bu committed Sep 26, 2024
1 parent 9941164 commit 855de98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/server/Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN npm run build
FROM nginx:alpine

# Copy the shared Nginx configuration template from the host machine
COPY ../config/nginx.conf.template /etc/nginx/nginx.conf.template
COPY ./config/nginx.conf.template /etc/nginx/nginx.conf.template

# Copy your web files to the container
COPY --from=build /app/build /usr/share/nginx/html
Expand All @@ -29,7 +29,7 @@ COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80

# Copy the shared entrypoint script from the config folder (relative to the build context)
COPY ../config/entrypoint.sh /entrypoint.sh
COPY ./config/entrypoint.sh /entrypoint.sh

# Make the entrypoint script executable
RUN chmod +x /entrypoint.sh
Expand Down

0 comments on commit 855de98

Please sign in to comment.