Skip to content

Commit

Permalink
Fix Dockerfile to not link tmp to /Users/sean.rankine
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanything committed Jul 23, 2024
1 parent bb88e65 commit 7bdcc59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RUN apt-get install -y --no-install-recommends nodejs npm;\
echo -n npm version:\ ; npm -v; \
npm install -g yarn@1.22.19

RUN ln -fs /tmp $APP_HOME
RUN groupadd -g 1001 app; \
useradd -u 1001 -g app app --home $APP_HOME

Expand All @@ -29,5 +28,7 @@ RUN PLAYWRIGHT_BROWSERS_PATH=$APP_HOME/.cache/ms-playwright yarn playwright inst
COPY playwright.config.js ./
COPY tests/ ./tests/
COPY lib/ ./lib/
RUN chown -R app:app $APP_HOME

USER app
CMD [ "yarn", "playwright", "test", "--reporter=dot" ]

0 comments on commit 7bdcc59

Please sign in to comment.