mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-23 15:14:49 +01:00
Changing to Ubuntu and docker-compose v2. Closes #185
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,8 +1,11 @@
|
||||
FROM alpine:3.2
|
||||
RUN apk update && apk upgrade
|
||||
RUN apk add git gcc musl-dev libffi-dev python python-dev py-pip
|
||||
FROM ubuntu:latest
|
||||
RUN apt-get update -y
|
||||
RUN apt-get upgrade -y
|
||||
RUN apt-get install build-essential python-dev python-pip libffi-dev -y
|
||||
|
||||
RUN mkdir /opt
|
||||
VOLUME ["/opt/CTFd"]
|
||||
|
||||
RUN mkdir -p /opt/CTFd
|
||||
COPY . /opt/CTFd
|
||||
WORKDIR /opt/CTFd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user