Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #348 from nypublicradio/mwalsh/deploy-tweaks
Browse files Browse the repository at this point in the history
Update deploy setup for more consistent builds
  • Loading branch information
walsh9 authored Jun 1, 2022
2 parents be50a50 + de69dfe commit 91a47c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
command: |
env | sed -n "s/^${ENV^^}_//p" >> .env
set -o allexport && source .env && set +o allexport
npm install
npm ci
npm run deploy
deploy-nuxt:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ RUN apt-get update \
WORKDIR /code

COPY package.json ./
COPY ./package-lock.json ./

RUN npm install
RUN npm ci

COPY . ./
RUN rm /etc/nginx/nginx.conf \
Expand Down

0 comments on commit 91a47c9

Please sign in to comment.