mirror of
https://codeberg.org/gothub/RandomInstance
synced 2024-12-06 19:16:49 +01:00
2e96148246
Signed-off-by: Odyssey <hi@odyssey346.dev>
16 lines
345 B
Docker
16 lines
345 B
Docker
# pull down the pode image
|
|
FROM badgerati/pode:latest-alpine
|
|
|
|
# or use the following for GitHub
|
|
# FROM docker.pkg.github.com/badgerati/pode/pode:latest-alpine
|
|
|
|
# copy over the local files to the container
|
|
COPY . /usr/src/app/
|
|
|
|
# expose the port
|
|
EXPOSE 8080
|
|
|
|
ENV DOCKER=true
|
|
|
|
# run the server
|
|
CMD [ "pwsh", "-c", "cd /usr/src/app; ./server.ps1" ] |