Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danyworks committed Sep 21, 2024
1 parent bf2b92e commit 05e82e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions GoatFile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ RUN apk update && apk add --no-cache \
COPY . /app
WORKDIR /app

RUN python3 -m pip install --upgrade pip wheel && \
pip install -r requirements.txt && \
adduser -D -s /bin/bash "$USER" && \
RUN adduser -D -s /bin/bash "$USER" && \
chown -R "$USER":"$USER" /app

USER "$USER"

RUN python3 -m pip install --upgrade pip wheel && \
pip install -r requirements.txt

ENV DISPLAY=:99

CMD ["sh", "-c", "mkdir -p /tmp/.X11-unix && chmod 1777 /tmp/.X11-unix && Xvfb :99 -screen 0 1024x768x16 & python main.py"]
2 changes: 1 addition & 1 deletion main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ a = Analysis(
(chrome_portable_path, 'chrome_portable'),
(chromedriver_path, 'chromedriver')
],
hiddenimports=collect_submodules('tkinter') + collect_submodules('ttkbootstrap'),
hiddenimports=collect_submodules('tkinter') + collect_submodules('ttkbootstrap') + ['win32ctypes.pywin32', 'pywintypes', 'win32api'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
Expand Down

0 comments on commit 05e82e1

Please sign in to comment.