mirror of
https://github.com/cupcakearmy/confluence-markdown-sync.git
synced 2025-09-05 23:30:40 +00:00
initial
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -1,8 +1,13 @@
|
||||
# Container image that runs your code
|
||||
FROM alpine:3.10
|
||||
FROM python:3.9-alpine
|
||||
|
||||
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
WORKDIR /tmp
|
||||
RUN pip install pipenv
|
||||
COPY ./Pipfile* ./
|
||||
RUN pipenv install --system --deploy
|
||||
|
||||
# Code file to execute when the docker container starts up (`entrypoint.sh`)
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
WORKDIR /action
|
||||
COPY ./src .
|
||||
|
||||
ENTRYPOINT [ "python" ]
|
||||
CMD [ "/action/main.py" ]
|
Reference in New Issue
Block a user