diff options
author | Galen Guyer <galen@galenguyer.com> | 2021-09-01 13:01:21 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2021-09-01 13:01:21 -0400 |
commit | 21cce2532232f11548595474b414fb4ba7deaf1f (patch) | |
tree | ad522927f5991d2e937656d625e8b572df1fd231 /Dockerfile | |
parent | a377aa396c9de23157eb35b8136081cf150d098e (diff) |
update for new semester, oops forgot to commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,10 +1,10 @@ -FROM node:12.16.2 as build-deps +FROM node:12.17 as build-deps +RUN npm i -g pnpm WORKDIR /usr/src/app -COPY package.json yarn.lock ./ -RUN yarn +COPY package.json ./ +RUN pnpm i COPY . ./ -RUN yarn build +RUN pnpm build -FROM docker.galenguyer.com/nginx-auto/nginx-react -COPY --from=build-deps /usr/src/app/build /var/www/html/ -CMD ["nginx", "-g", "daemon off;"] +FROM cr.galenguyer.com/nginx/spa:latest +COPY --from=build-deps /usr/src/app/build /usr/share/nginx/html/ |