try to add and use shrinko8

This commit is contained in:
dylan
2024-03-31 13:49:09 -07:00
parent d606a8002f
commit c003955c3d
9 changed files with 117 additions and 75 deletions

View File

@ -1,30 +1,13 @@
# Installs Node image
FROM node:18-alpine as base
FROM node:18-buster as base
# sets the working directory for any RUN, CMD, COPY command
WORKDIR /app
# ENV PORT=3000
# ENV DB_HOST=postgres
# ENV DB_USER=postgres
# ENV DB_NAME=db_name
# ENV DB_PASSWORD=password
# ENV DB_PORT=5432
# ENV DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}
# intentionally here only for temporary cache-busting test
# COPY ./client ./client
# RUN apt update
# RUN apt -y install python3
# RUN apt-get update
# RUN apt-get -y install libsdl2-dev
# RUN apt-get -y install xorg-dev
# COPY ./pico8 ./pico8
# RUN echo "chmoding pico8"
# RUN chmod +x ./usr/bin/pico8
# Install Python and pip
RUN apk add --update python3 py3-pip
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
# Copies stuff to cache for install
COPY ./package.json ./package-lock.json tsconfig.json ./