Skip to content
Snippets Groups Projects
Commit 99c36ce8 authored by Thomas van den Berg's avatar Thomas van den Berg
Browse files

Not working Dockerfile.

parent 65a69c76
No related branches found
No related tags found
No related merge requests found
node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
README.md
LICENSE
.vscode
.idea
.env
hydrominder-api-container.tar
\ No newline at end of file
FROM arm32v7/node:16 AS build-env
WORKDIR /usr/src/app
# Environment variables for production
ENV NODE_ENV=production
COPY package*.json ./
RUN yarn install
COPY . .
RUN yarn run build
RUN yarn run generate
FROM arm32v7/nginx:alpine
COPY --from=0 dist ./html
COPY html /usr/share/nginx/html
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