Skip to content
Draft
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
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# docker machine issue? https://github.com/docker-archive/toolbox/issues/453
FROM selenium/standalone-chrome

ARG NOWUSER
ARG UID=1000
ENV CURRENT_USER=$NOWUSER
RUN echo $CURRENT_USER

RUN sudo useradd -u $UID $CURRENT_USER

WORKDIR /app

USER root

RUN apt install curl tar bash procps -y && apt autoclean
RUN mkdir -p ./Logs ./screenshots

USER $CURRENT_USER

COPY src ./src
COPY test-data ./test-data