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 3955ebb commit f65d7e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM nginx:1.21

RUN ls
RUN pwd

# WORKDIR /app

# COPY package.json /app
Expand All @@ -10,7 +13,7 @@ FROM nginx:1.21

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

COPY ./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 f65d7e6

Please sign in to comment.