Skip to content

Commit

Permalink
Fix fucking problems
Browse files Browse the repository at this point in the history
  • Loading branch information
hatamiarash7 committed Oct 1, 2022
1 parent e85de66 commit 9a8db15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ RUN apk upgrade --no-cache \
&& apk add --no-cache -t build-dependencies \
gcc \
g++ \
musl-dev \
python3-dev \
libffi-dev \
build-base \
&& apk add --no-cache \
musl-dev \
python3 \
python3-dev \
py3-pip \
sqlite \
openssl \
Expand All @@ -28,8 +30,7 @@ RUN apk upgrade --no-cache \
&& pip3 install --upgrade --no-cache --no-cache-dir --ignore-installed pip wheel \
&& pip3 install --no-cache --no-cache-dir --ignore-installed nikas==$VERSION \
&& apk del build-dependencies \
&& rm -rf /tmp/* \
&& rm -rf /var/cache/apk/*
&& rm -rf /tmp/* /var/cache/apk/*

EXPOSE 8080

Expand Down
9 changes: 5 additions & 4 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ RUN apk upgrade --no-cache \
&& apk add --no-cache -t build-dependencies \
gcc \
g++ \
musl-dev \
python3-dev \
libffi-dev \
build-base \
&& apk add --no-cache \
musl-dev \
python3 \
python3-dev \
py3-pip \
sqlite \
openssl \
Expand All @@ -31,8 +33,7 @@ RUN apk upgrade --no-cache \
&& pip3 install --no-cache --no-cache-dir -r /tmp/requirements.txt \
&& 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 \
&& apk del build-dependencies \
&& rm -rf /tmp/* \
&& rm -rf /var/cache/apk/*
&& rm -rf /tmp/* /var/cache/apk/*

EXPOSE 8080

Expand Down

0 comments on commit 9a8db15

Please sign in to comment.