Add docker files for expo page

This commit is contained in:
Michał Gdula 2023-05-15 13:41:45 +03:00
parent 578b0e728b
commit 77c0711a24
11 changed files with 76 additions and 522 deletions

View file

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
FROM alpine:latest
EXPOSE 8080
EXPOSE 8000
# RUN apt update && apt install -y python3 python3-pip postgresql-client
RUN apk update && apk add python3 py3-pip postgresql-client
WORKDIR /data

View file

@ -1,11 +1,11 @@
Gunicorn
psycopg2-binary
Flask
Flask-SQLAlchemy
psycopg2-binary
Flask-Migrate
Flask-Caching
Flask-Assets
Flask-Login
libsass.bin
Flask-Assets
Flask-Caching
libsass-bin
jsmin
cssmin

View file

@ -26,4 +26,4 @@ fi
# Start server!!!!
echo "Starting server..."
gunicorn --bind highscore:8080 server:app
gunicorn --bind highscore:8000 server:app