Skip to content

Commit

Permalink
Merge pull request #596 from PEM-Humboldt/hotfix/1.9.1
Browse files Browse the repository at this point in the history
Change serve port and update dockerignore
  • Loading branch information
erikasv authored Feb 1, 2022
2 parents 1ee8fca + 5c3c884 commit c735ecb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ Dockerfile
README.md
.git

# Artifacts that will be built during image creation.
# This should contain all files created during `npm run build`.
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions

.parcel-cache

.github
build
node_modules

packages/**/.cache
packages/**/node_modules
packages/**/dist
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ RUN yarn build
FROM node:14.15 as release

COPY --from=build /home/node/app/build ./build
RUN yarn global add serve
RUN yarn global add serve@~13.0.0
EXPOSE 5000
CMD [ "serve", "-s", "build" ]
CMD [ "serve", "-p", "5000", "-s", "build" ]

0 comments on commit c735ecb

Please sign in to comment.