Skip to content

Commit 47b9e9b

Browse files
committed
fix(Docker): install libgomp1
1 parent 8be4b78 commit 47b9e9b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ FROM debian:12-slim
2222
COPY --from=builder /app/dist/vease-back /usr/local/bin/vease-back
2323
RUN chmod +x /usr/local/bin/vease-back
2424

25+
RUN apt-get update && apt-get install -y libgomp1
26+
2527
EXPOSE 5000
2628
ENV PYTHON_ENV=prod
2729

vease-back.spec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ datas = []
77
datas += collect_data_files('opengeodeweb_back')
88
datas += collect_data_files('vease_back')
99
datas += copy_metadata('vease_back', recursive=True)
10-
binaries = []
1110

12-
if sys.platform.startswith('linux'):
13-
binaries.append(('/usr/lib/x86_64-linux-gnu/libgomp.so*', '.'))
1411

1512
a = Analysis(
1613
['src/vease_back/app.py'],
1714
pathex=[],
18-
binaries=binaries,
15+
binaries=[],
1916
datas=datas,
2017
hiddenimports=[],
2118
hookspath=[],

0 commit comments

Comments
 (0)