docker shit
This commit is contained in:
parent
a71133c13d
commit
e9656490a0
@ -7,11 +7,15 @@ WORKDIR /app
|
||||
# Copy the build folder to the working directory
|
||||
COPY build ./build
|
||||
|
||||
COPY package.json ./build/
|
||||
|
||||
# Change directory to the build folder
|
||||
WORKDIR /app/build
|
||||
|
||||
RUN npm install
|
||||
|
||||
# Make port 3000 available to the world outside this container, if necessary
|
||||
EXPOSE 3000
|
||||
|
||||
# Run the application
|
||||
CMD ["node", "--experimental-modules", "index.js"]
|
||||
CMD ["node", "index.js"]
|
||||
|
Loading…
Reference in New Issue
Block a user