Skip to content
Snippets Groups Projects
Commit 6468a6ff authored by Migushthe2nd's avatar Migushthe2nd
Browse files

Fix Dockerfile issues

parent 1eb70142
No related branches found
No related tags found
No related merge requests found
FROM arm32v7/node:16 AS build-env FROM arm32v7/node:15 AS build-env
WORKDIR /usr/src/app WORKDIR /usr/src/app
# Environment variables for production # Environment variables for production
ENV NODE_ENV=production
COPY package*.json ./ COPY package*.json ./
RUN yarn install RUN yarn install
...@@ -11,7 +10,6 @@ COPY . . ...@@ -11,7 +10,6 @@ COPY . .
RUN yarn run build RUN yarn run build
RUN yarn run generate RUN yarn run generate
FROM arm32v7/nginx:alpine FROM arm32v7/nginx:alpine
COPY --from=0 dist ./html COPY --from=build-env /usr/src/app/dist /usr/share/nginx/html
COPY html /usr/share/nginx/html ENV NODE_ENV=production
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment