Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building tag error #2073

Merged
merged 5 commits into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/gafl-webapp-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ WORKDIR /app
COPY packages/gafl-webapp-service/package*.json /app/
COPY packages/gafl-webapp-service/assets /app/assets
COPY packages/gafl-webapp-service/build /app/build
RUN npm install --production \
&& npm run prepare \
&& npm prune --production \
&& npm cache clean --force > /dev/null 2>&1

RUN npm install && npm run prepare

# Bundle app source
COPY packages/gafl-webapp-service/ /app
Expand All @@ -23,7 +21,9 @@ RUN rm -Rf /app/build /app/assets
####################################################################################################################################
FROM rod_licensing/base
WORKDIR /app
COPY --from=builder /app/ /app/
COPY --from=builder --chown=node:node /app/ /app/

RUN npm prune --production && npm cache clean --force > /dev/null 2>&1

# Default service port
ARG PORT=3000
Expand Down
Loading