Skip to content

Commit

Permalink
feat: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ybgbob committed Nov 14, 2023
1 parent 36ec026 commit 3955ebb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM nginx:1.21

WORKDIR /app
# WORKDIR /app

# COPY package.json /app
# COPY pnpm-lock.yaml /app

COPY build .
RUN echo 'build successful'
# COPY build .
# RUN echo 'build successful'

# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx

COPY /app/build/ /usr/share/nginx/html
COPY ./build/ /usr/share/nginx/html
# Copy the default nginx.conf provided by tiangolo/node-frontend
# COPY --from=build-stage /nginx.conf /etc/nginx/conf.d/default.conf

Expand Down

0 comments on commit 3955ebb

Please sign in to comment.