Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Feb 29, 2024
1 parent b641548 commit 81ce04f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ ARG GATSBY_REPOSITORY_URL
ENV GATSBY_REPOSITORY_URL $GATSBY_REPOSITORY_URL
ENV GATSBY_TELEMETRY_DISABLED 1
WORKDIR /app
# Need lscpu
RUN apk add --no-cache --update util-linux && \
rm -rf /var/cache/apk/* > /dev/null 2>&1

COPY yarn.lock .yarnrc.yml ./
COPY .yarn .yarn
Expand All @@ -43,5 +40,5 @@ COPY --from=builder --chown=1000:1000 /app ./

USER 1000

WORKDIR /app/frontend
CMD ["node", "node_modules/.bin/gatsby", "serve", "--port", "8080", "--host", "0.0.0.0"]
# CMD ["node", "node_modules/.bin/gatsby", "serve", "--port", "8080", "--host", "0.0.0.0"]
CMD ["yarn", "workspace", "recosante-frontend", "gatsby", "serve", "--port", "8080", "--host", "0.0.0.0"]

0 comments on commit 81ce04f

Please sign in to comment.