Skip to content

Commit

Permalink
Merge pull request #6153 from espoon-voltti/apigw-read-only
Browse files Browse the repository at this point in the history
Korjataan apigw:n kontin tiedosto-oikeudet
patari authored Dec 20, 2024
2 parents 7462ec1 + c3a6a40 commit 03b42e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apigw/Dockerfile
Original file line number Diff line number Diff line change
@@ -48,15 +48,13 @@ FROM base

ENV NODE_ENV production

WORKDIR /home/evaka
RUN adduser evaka --gecos "" -q --home /home/evaka --disabled-password

COPY --from=builder /project .

RUN yarn workspaces focus --production \
&& yarn cache clean --all

RUN adduser evaka --gecos "" -q --home /home/evaka --disabled-password
RUN chown -R evaka:evaka /home/evaka
USER evaka

ARG build=none

0 comments on commit 03b42e6

Please sign in to comment.