These are my docker-compose.yml commands:
version: '3'
services:
    server:
        build:
            context: ../../
            dockerfile: ./packages/website/Dockerfile
        command: yarn serve
        environment:
            PORT: 3000
            NODE_ENV: production
        restart: always
    nginx:
        build:
            context: ./
            dockerfile: ./nginx/Dockerfile
        command: nginx -c /etc/nginx/nginx.conf -g "daemon off;"
        depends_on:
            - server
        ports:
            - "80:80"
        restart: always
It works here locally but now I want to deploy this to t2.micro or some other paid services but I am not really sure how to do it.
My plan is to create a separate docker-compose.yml file which refers to the images rather than the physical dockerfile(s)
Please just drop in an answer to aware me about this.
Thanks in Advance!