fix
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
# - security_net
|
||||
restart: "always"
|
||||
ports:
|
||||
- "${FARM_PORT}:8000"
|
||||
- "3333:8000"
|
||||
|
||||
postgres:
|
||||
image: postgres:18
|
||||
@@ -6,4 +6,4 @@ WORKDIR /app
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD ["./start_server.sh"]
|
||||
ENTRYPOINT ["/app/start_server.sh"]
|
||||
|
||||
@@ -27,7 +27,7 @@ def post_flags():
|
||||
|
||||
db = database.get()
|
||||
cursor = db.cursor()
|
||||
cursor.executemany("INSERT OR IGNORE INTO flags (flag, sploit, team, time, status) "
|
||||
cursor.executemany("INSERT INTO flags (flag, sploit, team, time, status) "
|
||||
"VALUES (%s, %s, %s, %s, %s)", rows)
|
||||
db.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user