Skip to content

Commit 9a8db15

Browse files
committed
Fix fucking problems
1 parent e85de66 commit 9a8db15

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ RUN apk upgrade --no-cache \
1616
&& apk add --no-cache -t build-dependencies \
1717
gcc \
1818
g++ \
19-
musl-dev \
19+
python3-dev \
2020
libffi-dev \
21+
build-base \
22+
&& apk add --no-cache \
23+
musl-dev \
2124
python3 \
22-
python3-dev \
2325
py3-pip \
2426
sqlite \
2527
openssl \
@@ -28,8 +30,7 @@ RUN apk upgrade --no-cache \
2830
&& pip3 install --upgrade --no-cache --no-cache-dir --ignore-installed pip wheel \
2931
&& pip3 install --no-cache --no-cache-dir --ignore-installed nikas==$VERSION \
3032
&& apk del build-dependencies \
31-
&& rm -rf /tmp/* \
32-
&& rm -rf /var/cache/apk/*
33+
&& rm -rf /tmp/* /var/cache/apk/*
3334

3435
EXPOSE 8080
3536

Dockerfile.dev

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ RUN apk upgrade --no-cache \
1818
&& apk add --no-cache -t build-dependencies \
1919
gcc \
2020
g++ \
21-
musl-dev \
21+
python3-dev \
2222
libffi-dev \
23+
build-base \
24+
&& apk add --no-cache \
25+
musl-dev \
2326
python3 \
24-
python3-dev \
2527
py3-pip \
2628
sqlite \
2729
openssl \
@@ -31,8 +33,7 @@ RUN apk upgrade --no-cache \
3133
&& pip3 install --no-cache --no-cache-dir -r /tmp/requirements.txt \
3234
&& pip3 install --no-cache --no-cache-dir --ignore-installed --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ nikas==$VERSION \
3335
&& apk del build-dependencies \
34-
&& rm -rf /tmp/* \
35-
&& rm -rf /var/cache/apk/*
36+
&& rm -rf /tmp/* /var/cache/apk/*
3637

3738
EXPOSE 8080
3839

0 commit comments

Comments
 (0)