We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d700d20 commit 5a4c761Copy full SHA for 5a4c761
udagram-frontend/Dockerfile
@@ -0,0 +1,15 @@
1
+## Build
2
+FROM beevelop/ionic:latest AS ionic
3
+# Create app directory
4
+WORKDIR /usr/src/app
5
+# Install app dependencies
6
+# A wildcard is used to ensure both package.json AND package-lock.json are copied
7
+COPY package*.json ./
8
+RUN npm ci
9
+# Bundle app source
10
+COPY . .
11
+RUN ionic build
12
+## Run
13
+FROM nginx:alpine
14
+#COPY www /usr/share/nginx/html
15
+COPY --from=ionic /usr/src/app/www /usr/share/nginx/html
0 commit comments