Skip to content

Commit

Permalink
Removing the .env file in the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Mar 1, 2024
1 parent 39e72b9 commit 5fc4e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM node:20

COPY . /app
WORKDIR /app

#Remove env file (not necesary for docker)
RUN rm -f .env
#Install the dependencies
RUN npm install


#Create an optimized version of the webapp
RUN npm run build
RUN npm install serve
Expand Down

0 comments on commit 5fc4e5a

Please sign in to comment.