Skip to content

Commit

Permalink
Changed dockerfile again
Browse files Browse the repository at this point in the history
  • Loading branch information
Taks07 committed May 7, 2024
1 parent 8d27ead commit 50cfdec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ RUN yarn install --production=true
FROM nginx

# Copy built application
COPY --from=build /src/public ./
COPY --from=build /app/dist /usr/share/nginx/html
COPY --link _redirects /usr/share/nginx/html/_redirects
COPY nginx.conf /etc/nginx/nginx.conf

# Serve the public folder
COPY --link public /usr/share/nginx/html/public

# Start the server by default, this can be overwritten at runtime
EXPOSE 80
Expand Down

0 comments on commit 50cfdec

Please sign in to comment.