This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
pavle.golubovic
/
website-new
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Dockerfile
SEO
Djordje Djoric
3 years ago
parent
547cad2c18
commit
ea963bf807
2 changed files
with
18 additions
and
0 deletions
Split View
Show Diff Stats
1
0
frontend/.dockerignore
17
0
frontend/Dockerfile
+ 1
- 0
frontend/.dockerignore
View File
@@ -0,0 +1 @@
node_modules
+ 17
- 0
frontend/Dockerfile
View File
@@ -0,0 +1,17 @@
FROM node:16
WORKDIR ./src
COPY package*.json ./
COPY src ./
COPY public ./
RUN npm install
ENV NODE_ENV='production'
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "npm", "start" ]
Write
Preview
Loading…
Cancel
Save