Skip to content

Commit 362400f

Browse files
Remove playwright
Golf working directory variable
1 parent 9ee7223 commit 362400f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,10 @@ FROM ubuntu:22.04 AS runner-image
7070
ARG USERNAME=appuser
7171
ENV HOME="/home/${USERNAME}"
7272
ENV VIRTUAL_ENV="/opt/venv"
73-
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
74-
ENV PATH="${VIRTUAL_ENV}/bin:$HOME/.asdf/bin:$HOME/.asdf/shims:/ms-playwright:$PATH"
73+
ENV PATH="${VIRTUAL_ENV}/bin:$HOME/.asdf/bin:$HOME/.asdf/shims:$PATH"
7574

7675
RUN useradd --create-home $USERNAME \
77-
&& mkdir -p /home/${USERNAME}/app \
78-
&& mkdir -p $PLAYWRIGHT_BROWSERS_PATH
76+
&& mkdir -p ${HOME}/app
7977

8078
COPY --chown=${USERNAME}:${USERNAME} . $HOME/app
8179
COPY --from=builder-image --chown=${USERNAME}:${USERNAME} /opt/venv /opt/venv

0 commit comments

Comments
 (0)