Skip to content

Commit

Permalink
Fixing to use docker cache for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski committed Nov 19, 2021
1 parent 15465ac commit e71c9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Stage-1 Build and Development Environment
FROM node:14.11 as build
ARG SOURCE_COMMIT
ARG NODE_ENV=production
ARG NODE_OPTIONS=--max_old_space_size=700
ENV NPM_CONFIG_LOGLEVEL warn
Expand Down Expand Up @@ -30,6 +29,7 @@ RUN chmod +x start.sh
ADD set_build_version.sh /app/
RUN chmod +X set_build_version.sh

ARG SOURCE_COMMIT
RUN ["bash", "-c", "./set_build_version.sh"]

RUN npm run build
Expand Down

0 comments on commit e71c9a7

Please sign in to comment.