mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
Dockerfile for PWA - Needs Compose + Volumes
This commit is contained in:
1 parent
0cc690d04e
commit
8f78bd5092
2 files changed
+18
No files matched your search
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
npm-debug.log*
|
||||
@@ -0,0 +1,16 @@
|
||||
FROM node:12.10.0
|
||||
|
||||
WORKDIR /app
|
||||
# cd app folder within container.
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
# copy {everything in PWA} {WORKDIR (/app)}
|
||||
# this is okay because node_modules is ignored
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "start"]
|
||||
Reference in new issue
Block a user